package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 审批记录对象 approve_log
 * 
 * @author hyb
 * @date 2023-02-06
 */
public class ApproveLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /**  */
    private Long toApproveUserId;

    /**  */
    private Long approveUserId;

    /**  */
    private Long activityId;

    /** 报审人姓名 */
    @Excel(name = "报审人姓名")
    private String toApproveName;

    /** 审批人姓名 */
    @Excel(name = "审批人姓名")
    private String approveName;

    /** 报审人电话 */
    @Excel(name = "报审人电话")
    private String toApprovePhone;

    /** 审批人电话 */
    @Excel(name = "审批人电话")
    private String approvePhone;

    /** 报审人邮箱 */
    @Excel(name = "报审人邮箱")
    private String toApproveMail;

    /** 审批人邮箱 */
    @Excel(name = "审批人邮箱")
    private String approveMail;

    /** 报审时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报审时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date toApproveTime;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approveTime;

    /** 审核反馈 */
    @Excel(name = "审核反馈")
    private String approveNote;

    /** 审核次数 */
    @Excel(name = "审核次数")
    private Long approveCount;

    /** 审批活动 */
    @Excel(name = "审批活动")
    private String pf1;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long status;

    /** $column.columnComment */
    private String pf2;

    /** $column.columnComment */
    private String pf3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setToApproveUserId(Long toApproveUserId) 
    {
        this.toApproveUserId = toApproveUserId;
    }

    public Long getToApproveUserId() 
    {
        return toApproveUserId;
    }
    public void setApproveUserId(Long approveUserId) 
    {
        this.approveUserId = approveUserId;
    }

    public Long getApproveUserId() 
    {
        return approveUserId;
    }
    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }
    public void setToApproveName(String toApproveName) 
    {
        this.toApproveName = toApproveName;
    }

    public String getToApproveName() 
    {
        return toApproveName;
    }
    public void setApproveName(String approveName) 
    {
        this.approveName = approveName;
    }

    public String getApproveName() 
    {
        return approveName;
    }
    public void setToApprovePhone(String toApprovePhone) 
    {
        this.toApprovePhone = toApprovePhone;
    }

    public String getToApprovePhone() 
    {
        return toApprovePhone;
    }
    public void setApprovePhone(String approvePhone) 
    {
        this.approvePhone = approvePhone;
    }

    public String getApprovePhone() 
    {
        return approvePhone;
    }
    public void setToApproveMail(String toApproveMail) 
    {
        this.toApproveMail = toApproveMail;
    }

    public String getToApproveMail() 
    {
        return toApproveMail;
    }
    public void setApproveMail(String approveMail) 
    {
        this.approveMail = approveMail;
    }

    public String getApproveMail() 
    {
        return approveMail;
    }
    public void setToApproveTime(Date toApproveTime) 
    {
        this.toApproveTime = toApproveTime;
    }

    public Date getToApproveTime() 
    {
        return toApproveTime;
    }
    public void setApproveTime(Date approveTime) 
    {
        this.approveTime = approveTime;
    }

    public Date getApproveTime() 
    {
        return approveTime;
    }
    public void setApproveNote(String approveNote) 
    {
        this.approveNote = approveNote;
    }

    public String getApproveNote() 
    {
        return approveNote;
    }
    public void setApproveCount(Long approveCount) 
    {
        this.approveCount = approveCount;
    }

    public Long getApproveCount() 
    {
        return approveCount;
    }
    public void setPf1(String pf1) 
    {
        this.pf1 = pf1;
    }

    public String getPf1() 
    {
        return pf1;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setPf2(String pf2) 
    {
        this.pf2 = pf2;
    }

    public String getPf2() 
    {
        return pf2;
    }
    public void setPf3(String pf3) 
    {
        this.pf3 = pf3;
    }

    public String getPf3() 
    {
        return pf3;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("toApproveUserId", getToApproveUserId())
            .append("approveUserId", getApproveUserId())
            .append("activityId", getActivityId())
            .append("toApproveName", getToApproveName())
            .append("approveName", getApproveName())
            .append("toApprovePhone", getToApprovePhone())
            .append("approvePhone", getApprovePhone())
            .append("toApproveMail", getToApproveMail())
            .append("approveMail", getApproveMail())
            .append("toApproveTime", getToApproveTime())
            .append("approveTime", getApproveTime())
            .append("approveNote", getApproveNote())
            .append("approveCount", getApproveCount())
            .append("pf1", getPf1())
            .append("status", getStatus())
            .append("pf2", getPf2())
            .append("pf3", getPf3())
            .toString();
    }
}
